<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>员工新增</title>
</head>
<body>
<form action="/insert" method="post">
   <!-- 员工姓名：<input type="text" name="name"/><br/>-->
    员工姓名：<input type="text" name="name" value="李四"/><br/>
    所属部门:
    <select name="deptId">
        <option th:each="dept : ${list}" th:value="${dept.id}" th:text="${dept.name}"></option>
    </select><br/>
    <input type="submit" value="修改"/>
</form>
</body>
</html>